<?php

$projectlist_name = elgg_view ( 'input/hidden', array (
		'name' => 'projectlist_name',
		'value' => $vars['projectlist_name'],
) );

$projectlist_guid = elgg_view ( 'input/hidden', array (
		'name' => 'projectlist_guid',
		'value' => $vars['projectlist_guid'] ,
));

// add deadline form
$deadline_label = elgg_echo ( 'submana:deadline' );
$deadline_input = elgg_view ( 'input/date', array (
		'name' => 'deadline',
		'class' => "required",
		'value' => date("d/m/Y", time()),
) );

$save_button = elgg_view ( 'input/submit', array (
		'value' => elgg_echo ( 'submana:addprojects:save' ) 
) );
$reset_button = elgg_view ( 'input/reset', array (
		'value' => elgg_echo ( 'submana:addprojects:reset' ) 
) );

//--------- Edit group memeber ---------------------

echo <<<___HTML
<div>
	$projectlist_name
	$projectlist_guid
</div>
<div class="left" style="width:40%;">
	<label>$deadline_label</label>
	$deadline_input
</div>
<div class="clearboth"></div>
	$save_button
	$reset_button
</div>
___HTML;

?>


